From: Jasper St. Pierre Date: Mon, 11 Mar 2013 20:55:15 +0000 (-0400) Subject: messageTray: Fix style X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4493 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9eeabf79f9bdd90fcbf5c4baed2533159fecc2c3;p=gnome-shell.git messageTray: Fix style https://bugzilla.gnome.org/show_bug.cgi?id=695659 --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index be1bf4b63..83a0425a4 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -2247,9 +2247,8 @@ const MessageTray = new Lang.Class({ let canShowNotification = notificationsPending && this._summaryState == State.HIDDEN; if (this._notificationState == State.HIDDEN) { - if (canShowNotification) { + if (canShowNotification) this._showNotification(); - } } else if (this._notificationState == State.SHOWN) { if (notificationMustClose) this._hideNotification();